﻿body {
    margin: 0px;
    background-color: #C0EDEB;
    padding: 0px;
}
#body {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#header,#footer {
    position: fixed;
    width: 100%;
}


#header 
{
    padding:8px;
    text-align: center;
    color: white;
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}
#footer {
    color: white;
    font-weight:bold;
    bottom: 0px;
    padding: .1em 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #222;
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0,rgba(46, 46, 46, 0.8)),color-stop(0.5,rgba(21, 21, 21, 0.5)),color-stop(0.5,rgba(0, 0, 0, 0.8)),color-stop(1,rgba(0, 0, 0, 0.8)));
    background-image: -moz-linear-gradient(top,rgba(46, 46, 46, 0.8),rgba(21, 21, 21, 0.5) 50%,rgba(0, 0, 0, 0.8) 50%,rgba(0, 0, 0, 0.8));
    background-image: -ms-linear-gradient(top,rgba(46, 46, 46, 0.8),rgba(21, 21, 21, 0.5) 50%,rgba(0, 0, 0, 0.8) 50%,rgba(0, 0, 0, 0.8));
    background-image: -o-linear-gradient(top,rgba(46, 46, 46, 0.8),rgba(21, 21, 21, 0.5) 50%,rgba(0, 0, 0, 0.8) 50%,rgba(0, 0, 0, 0.8));
    background-image: linear-gradient(top,rgba(46, 46, 46, 0.8),rgba(21, 21, 21, 0.5) 50%,rgba(0, 0, 0, 0.8) 50%,rgba(0, 0, 0, 0.8));
    box-shadow: 0 -1px 0 0 black;
    -webkit-box-shadow: 0 -1px 0 0 black;
}
.bar {
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0,rgba(255, 255, 255, 0.5)),color-stop(0.06,rgba(255, 255, 255, 0.45)),color-stop(0.5,rgba(255, 255, 255, 0.2)),color-stop(0.5,rgba(255, 255, 255, 0.15)),color-stop(1,rgba(100, 100, 100, 0)));
    background-image: -moz-linear-gradient(top,rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.45) 6%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.15) 50%,rgba(100, 100, 100, 0));
    background-image: -ms-linear-gradient(top,rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.45) 6%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.15) 50%,rgba(100, 100, 100, 0));
    background-image: -o-linear-gradient(top,rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.45) 6%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.15) 50%,rgba(100, 100, 100, 0));
    background-image: linear-gradient(top,rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.45) 6%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.15) 50%,rgba(100, 100, 100, 0));
    background-color: black;
}
.group:before, .group:after,
.float-fix:before, .float-fix:after,
.btn-group:before, .btn-group:after,
.nav4:before, .nav3:after,
.clearfix:before, .clearfix:after
 {
	content:"";
	display:table;
}
.group:after,
.float-fix:after,
.btn-group:after,
.nav4:after,
.clearfix:after {
	clear:both;
}

.group {
    margin-bottom: 10px;
}
.float-l {
    float: left;
}
.float-r {
    float: right;
}
.center {
    margin-left: auto;
    margin-right: auto;
}
.btn-group {
    margin: 0px;
    padding: 0px;
    display: inline-block;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #aaaaaa;
    box-shadow: 2px 0 5px #888888; 
}
.btn-group li {
    float: left;
    list-style: none;
}
.btn-group li a {
    display: block;
    
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    border-right: 1px solid #cccccc;
    border-left: #ffffff;
    border-top: 1px solid #ffffff;

    background: #f0b7a1;
    background: -moz-linear-gradient(top,  #f0b7a1 0%, #8c3310 50%, #752201 51%, #bf6e4e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0b7a1), color-stop(50%,#8c3310), color-stop(51%,#752201), color-stop(100%,#bf6e4e));
    background: -webkit-linear-gradient(top,  #f0b7a1 0%,#8c3310 50%,#752201 51%,#bf6e4e 100%);
    background: -o-linear-gradient(top,  #f0b7a1 0%,#8c3310 50%,#752201 51%,#bf6e4e 100%);
    background: -ms-linear-gradient(top,  #f0b7a1 0%,#8c3310 50%,#752201 51%,#bf6e4e 100%);
    background: linear-gradient(to bottom,  #f0b7a1 0%,#8c3310 50%,#752201 51%,#bf6e4e 100%);

}
.btn-group li a > span {
    padding: 5px 15px;
}
.btn-group li:first-child a {
    border-left: 0px;
}
.btn-group li:last-child a {
    border-right: 0px;
}

.btn,
.btn-left,
.btn-right {
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;

    border-radius: 5px;
    -webkit-border-radius: 5px;
    height: 28px;
    border-width: 1px;
    border-style: solid;
    border-color: #373f4a #4e5661 #4e5661 #4e5661;
    box-shadow: 1px 1px 0px #8c949f;
}
.btn>span,
.btn-left>span,
.btn-right>span {
    display: block;
    padding: 0px 10px;
    min-width: 40px;
    line-height: 28px;

    box-shadow: -1px -1px 3px #B5BDCA inset;
    -webkit-box-shadow: -1px -1px 3px #B5BDCA inset;
    border-radius: 5px;

    background: -moz-linear-gradient(top,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b4beca), color-stop(50%,#72839d), color-stop(51%,#5a6f8a), color-stop(100%,#69788b));
    background: -webkit-linear-gradient(top,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
    background: -o-linear-gradient(top,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
    background: -ms-linear-gradient(top,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
    background: linear-gradient(to bottom,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
}
.btn-left {
    float: left;
    margin-left: 10px;
}
.btn-right {
    float: right;
    margin-right: 10px;
}

/*nav*/
.nav3,
.nav4 {
    margin: 0px;
    padding: 0px;
}
.nav3 li,
.nav4 li {
    float: left;
    list-style: none;
    line-height:normal;
}
.nav3 li div,
.nav4 li div {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    outline: none;
    font-size: .7em;
}
.nav4 li {
    width: 25%;
}
.nav3 li {
    width: 33.33%;
}
.nav3 li.current div,
.nav4 li.current div {
    background: rgba(100, 100, 100, 0.3);
    border-radius: 3pt;
    -moz-border-radius: 3pt;
    -webkit-border-radius: 3pt;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: 0;
    padding: 0 .3em;
    min-width: 6em;
    margin: 0 .5%;
    text-shadow: inherit;
}
.nav4 li:first-child div,
.nav3 li:first-child div {
    border-left: 0px;
}
.nav4 li:last-child div,
.nav3 li:last-child div {
    border-right: 0px;
}
.nav4 li div .nav-icon,
.nav3 li div .nav-icon
{
    background:url(/themes/iPhoneClassic/images/icon-sprite.png) no-repeat 0 0;
    height: 25px;
    width: 25px;
    display:block;
    margin: .1rem auto 0;
    
}
#navHome .nav-icon
{
    background-position:0 0;
}
#navHome.current .nav-icon
{
    background-position:right 0;
}
#navAbout .nav-icon
{
    background-position:0 -45px;
}
#navAbout.current .nav-icon
{
    background-position:right -45px;
}
#navContact .nav-icon
{
    background-position:0 -89px;
}
#navContact.current .nav-icon
{
    background-position:right -89px;
}

/* list */
ul.list {
    margin: 0px;
    padding: 0px;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #aaaaaa;
}
ul.list li {
    list-style: none;
    line-height: 35px;
    padding: 0 10px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #dddddd;
}
ul.list li:first-child {
    border-top: 0px;
}
ul.list li:last-child {
    border-bottom: 0px;
}
li.clicking {
    background-color: #DEFFAD;
}

/* toast and messages */
.toast {
    position: fixed;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    z-index: 100;
}
.toast-wrap {
    padding: 5px 8px;
}
.dialog {
    position: fixed;
    z-index: 10;
}
.dialog.modal {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.dialog-window {
    position: fixed;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .5),0 0 2px rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, .5),0 0 2px rgba(0, 0, 0, .5);
    background:url(/themes/iPhoneClassic/images/black-bg.png) repeat 0 0;

}
.dialog-header {
    border-radius: 5px 5px 0 0;
    position: relative;
    
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0,rgba(255, 255, 255, 0.5)),color-stop(0.06,rgba(255, 255, 255, 0.45)),color-stop(0.5,rgba(255, 255, 255, 0.2)),color-stop(0.5,rgba(255, 255, 255, 0.15)),color-stop(1,rgba(100, 100, 100, 0)));
    background-image: -moz-linear-gradient(top,rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.45) 6%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.15) 50%,rgba(100, 100, 100, 0));
    background-image: -ms-linear-gradient(top,rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.45) 6%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.15) 50%,rgba(100, 100, 100, 0));
    background-image: -o-linear-gradient(top,rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.45) 6%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.15) 50%,rgba(100, 100, 100, 0));
    background-image: linear-gradient(top,rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.45) 6%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.15) 50%,rgba(100, 100, 100, 0));
    background-color: black;
}
.dialog-title {
    padding: 8px;
    text-align: center;
    color: white;
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.dialog-close {
    position: absolute;
    top: 7px;
    right: 4px;
    padding: 4px;
    border-radius: 5px;
    text-align: center;

}
.dialog-close.touching {
    background-color: #FFE0E0;
}
.dialog-close span {
    text-align: center;
    border-width: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: .4em .8em;
    background: transparent,#496B9A;
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0,rgba(255, 255, 255, 0.35)),color-stop(0.5,rgba(255, 255, 255, 0.1)),color-stop(0.5,rgba(255, 255, 255, 0)),color-stop(1,rgba(255, 255, 255, 0)));
    background-image: -moz-linear-gradient(top,rgba(255, 255, 255, 0.35),rgba(255, 255, 255, 0.1) 50%,rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0));
    background-image: -ms-linear-gradient(top,rgba(255, 255, 255, 0.35),rgba(255, 255, 255, 0.1) 50%,rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0));
    background-image: -o-linear-gradient(top,rgba(255, 255, 255, 0.35),rgba(255, 255, 255, 0.1) 50%,rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0));
    background-image: linear-gradient(top,rgba(255, 255, 255, 0.35),rgba(255, 255, 255, 0.1) 50%,rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0));
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3),inset 0 1px 3px rgba(0, 0, 0, .5);
    -webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3),inset 0 1px 3px rgba(0, 0, 0, .5);
    background-color: black;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    color: white;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
}
.dialog-content {
    color:#fff;
}
.dialog-content-wrap {
    padding: 10px;
}
.dialog-footer-w1 {
    padding: 5px;
    border-top: 1px solid #cccccc;
}
.dialog-footer-w2 {
    margin-left: -20px;
    text-align: center;
}
.dialog-footer .btn {
    margin-left: 20px;
}

/* ui.widgets.sliding page*/
.sliding-pages {
    
}
.sliding-pages-wrap {
    width: 10000px;
}
.sliding-page {
    float: left;
}
.sliding-page.current {
    
}

/* scroller */
.scroller {
    overflow: hidden;
    position: relative;
}
.scroller .scroller-content {
    
}

/***********widgets**************/
.icon-list {
    margin: 0px;
    padding: 0px;
}
.icon-list li{
    width: 50%;
    float: left;
    list-style: none;
}
.icon-list li div {
    margin: 10px auto;
    width: 80px;
    height: 80px;
    line-height: 80px;
    overflow: hidden;
    text-align: center;
    border-radius: 8px;
    background-color: #C3E9F7;
    border: 1px solid #A5D4E5;
}
.icon-list li div.touching {
    background-color: #FFD3C9;
}
.icon-list li div.clicking {
    background-color: #C9FFD6;
}
